/***API***/
import * as baseAPI from "@/api";
const request = baseAPI.request;

const xdUserManageHospitalRole = {
  getHospitalList: obj => {
    let requestData = {
      method: "post",
      url: "Rselect/CGetDepaList",
      data: obj
    };
    return request(requestData);
  },

  editSubmit: obj => {
    let requestData = {
      method: "post",
      url: "Modify/CModifyCotegoryPrice",
      data: obj
    };
    return request(requestData);
  },

  addSubmit: obj => {
    let requestData = {
      method: "post",
      url: "insert/CAddCotegoryPrice",
      data: obj
    };
    return request(requestData);
  },

  getList: obj => {
    let requestData = {
      method: "post",
      url: "Rselect/CGetviewcategorypricelist",
      data: obj
    };
    return request(requestData);
  },

  delete: obj => {
    let requestData = {
      method: "post",
      url: "Delete/CDeleteById",
      data: obj
    };
    return request(requestData);
  },

  getWashlList: obj => {
    let requestData = {
      method: "post",
      url: "Rselect/CGetDepaList",
      data: obj
    };
    return request(requestData);
  }
};

export default xdUserManageHospitalRole;
